/**
 * Created by jcb-mock-server on 2016/1/19.
 */
$(document).ready(function(){
    showPerson();
    function showPerson(){
        doRender("/api/client/info/person", {"loginUserId": 331}, {"#personal-info": '#person'});
    }
    showAccount();
    function showAccount(){
        doRender("/api/client/info/getAccountInfo", {"loginUserId": 331}, {"#account-info": '.zhongtai'});
    }
    showCounselor();
    function showCounselor(){
        doRender("/api/client/agent/getAgent", {}, {"#counselor": '.counselor'});
    }

    $('.info > .content-subTitle').click(function() {
        $(this).find('span').toggleClass('indicate-down');
        $(this).next().slideToggle('quick');
    })
    $('.ul-tab > li').click(function() {
        $('.aboutMe-box').hide().eq($(this).index()).show();
    })

});